<?php

namespace app\admin\controller;

use app\common\model\VisitRegistration;

class Customer extends Base
{
    public function __construct()
    {
        parent::__construct();
        $this->isLogin();
    }

    /**
     * @route('customer/CustomerList')
     * 客服列表
     */
    public function CustomerList()
    {

        $from_id = 1;
        $to_id = 1;

        $tvar = array(
            "title" => "客服列表",
            "time"  => time(),
            "from_id" => $from_id,
            "to_id" => $to_id,
        );
        $this->assign("data", $tvar);
        return $this->fetch('customer/customerlist');
    }

}